package com.mililoan.service.module.system;

import com.mililoan.common.bean.PageResultSet;
import com.mililoan.model.system.OpLog;

/**
 * @ClassName: OpLogBo
 * @Description: 接口
 * @author taochen 
 * @since 2017-08-26
 */
public interface OpLogBo {	
	/**
	 * @Title: queryOpLogList
	 * @Description: 分页查询列表
	 * @param opLog
	 * @param page
	 * @param pageSize
	 * @return
	 * @throws Exception 
	 */
	public PageResultSet<OpLog> queryOpLogList(OpLog opLog, int page, int pageSize) throws Exception;
	
	/**
	 * @Title: add
	 * @Description: 添加
	 * @param opLog
	 * @return
	 * @throws Exception 
	 */
	public Long addOpLog(OpLog opLog) throws Exception;
	
	/**
	 * @Title: update
	 * @Description: 修改
	 * @param opLog
	 * @return
	 * @throws Exception 
	 */
	public Long updateOpLog(OpLog opLog) throws Exception;
		
	/**
	 * @Title: delete
	 * @Description: 删除
	 * @param opLog
	 * @return
	 * @throws Exception 
	 */
	public Long deleteOpLog(Long keyId) throws Exception;
	
	/**
	 * 查询单个对象
	 * @param keyId
	 * @return
	 * @throws Exception 
	 */
	public OpLog getOpLogById(Long keyId) throws Exception;
}
